x86/msr: Clean up the MSR_EFER constants
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 25 May 2018 15:12:05 +0000 (16:12 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 8 Sep 2021 16:54:21 +0000 (17:54 +0100)
commit00d0fcf33c580ba4577a9a2ac274863c173bbe65
treea297e7f4955a6526742a7ff798c38e8cabe76f97
parent2a4e6c4e4bea2e0bb720418c331ee28ff9c7632e
x86/msr: Clean up the MSR_EFER constants

There are no remaining users of the bit position constants.  Move the used
constants into the cleaned-up area of msr-index.h and apply appropriate style.

Rename EFER_NX to EFER_NXE to match both the Intel and AMD specs.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/boot/head.S
xen/arch/x86/cpu/intel.c
xen/arch/x86/efi/efi-boot.h
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/msr-index.h